package com.demo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
//import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("tb_file")
public class PracticalAchievementFile implements Serializable {
    private static final long serialVersionUID
            = 1L;

    @TableId(value = "f_id", type = IdType.AUTO)
    @TableField(value = "f_id")
    private Integer fId;


    @TableField(value = "f_name")
    private String fName;


    @TableField(value = "f_type")
    private String fType;

    @TableField(value = "f_size")
    private Long fSize;

    @TableField(value = "f_url")
    private String fUrl;

    @TableField(value = "f_del_flag")
    private Boolean fDelFlag;

    @TableField(value = "f_enable")
    private Boolean fEnable;

    @TableField(value = "f_md5")
    private String fMd5;

    @TableField(value = "f_uploadtime")
    @JsonFormat(timezone = "GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime fUploadTime;

    @TableField(value = "f_pa_id")
    private Long fPaId;

}